/**
 * weiyinli.com Inc.
 * Copyright (c) 2006-2011 All Rights Reserved.
 */
package com.nmp.service.demo;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.nmp.persistence.dao.DemoDao;
import com.nmp.persistence.entity.Demo;
import com.nmp.service.base.result.DefaultResult;
import com.nmp.service.base.result.Result;

/**
 * @author defier.lai
 * 2011-9-27 上午12:01:50
 * @version 1.0
 */
@Service
public class DemoService {
	
	@Resource
	private DemoDao demoDao;

	public Result save(Demo demo) {
		demoDao.save(demo);
		Result result = new DefaultResult(true);
		return result;
	}
	
}
